package com.fc.v2.mapper.auto;

import com.fc.v2.model.auto.PoetryAuthor;
import com.fc.v2.model.auto.PoetryAuthorExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 诗作者 PoetryAuthorMapper
 * @author fuce_自动生成
 * @email ${email}
 * @date 2021-03-04 13:18:08
 */
public interface PoetryAuthorMapper {
      	   	      	      	      	      	      
    long countByExample(PoetryAuthorExample example);

    int deleteByExample(PoetryAuthorExample example);
		
    int deleteByPrimaryKey(Integer id);
		
    int insert(PoetryAuthor record);

    int insertSelective(PoetryAuthor record);

    List<PoetryAuthor> selectByExample(PoetryAuthorExample example);
		
    PoetryAuthor selectByPrimaryKey(Integer id);
		
    int updateByExampleSelective(@Param("record") PoetryAuthor record, @Param("example") PoetryAuthorExample example);

    int updateByExample(@Param("record") PoetryAuthor record, @Param("example") PoetryAuthorExample example); 
		
    int updateByPrimaryKeySelective(PoetryAuthor record);

    int updateByPrimaryKey(PoetryAuthor record);
  	  	
}